import { MenuItemPropsType, MenuItemGroupPropsType, SubMenuPropsType } from '../../../components'
import { MenuTypeConstType } from '../consts'

export const MenuOptionType_Name = 'MenuOptionType'

export type MenuOptionType = (MenuItemPropsType | MenuItemGroupPropsType | SubMenuPropsType) & {
  // 菜单类型
  type?: MenuTypeConstType
}

export const MenuOptionsType_Name = 'MenuOptionsType'

export type MenuOptionsType = MenuOptionType[]
